package com.guan.ordering_sys.generator.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.guan.ordering_sys.generator.entity.Order;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.guan.ordering_sys.vo.DingdanVo;
import com.guan.ordering_sys.vo.SingleCheckVo;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 关远键
 * @since 2021-06-18
 */
@Repository
public interface OrderMapper extends BaseMapper<Order> {

    IPage<DingdanVo> selectOrderList(Page<DingdanVo> dingdanVoPage);

    SingleCheckVo getSingleCheck(int orderId);

    int updateCheck(int orderId, String payType);
}
